
package com.derbysoft.lowcostadapter.commons.dto;

import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for RoomType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="RoomType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Seq" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="PropertyRoomTypeID" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="MealBasisID" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="RoomType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="RoomView" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="MealBasis" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="SubTotal" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="Discount" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="SpecialOffer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Total" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="Adults" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="Children" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="Infants" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="Errata" type="{http://ivectorbookingxml/}ArrayOfErratum" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RoomType", propOrder = {
    "seq",
    "propertyRoomTypeID",
    "mealBasisID",
    "roomType",
    "roomView",
    "mealBasis",
    "subTotal",
    "discount",
    "specialOffer",
    "total",
    "adults",
    "children",
    "infants",
    "errata"
})
public class RoomType {

    @XmlElement(name = "Seq")
    protected int seq;
    @XmlElement(name = "PropertyRoomTypeID")
    protected int propertyRoomTypeID;
    @XmlElement(name = "MealBasisID")
    protected int mealBasisID;
    @XmlElement(name = "RoomType")
    protected String roomType;
    @XmlElement(name = "RoomView")
    protected String roomView;
    @XmlElement(name = "MealBasis")
    protected String mealBasis;
    @XmlElement(name = "SubTotal", required = true)
    protected BigDecimal subTotal;
    @XmlElement(name = "Discount", required = true)
    protected BigDecimal discount;
    @XmlElement(name = "SpecialOffer")
    protected String specialOffer;
    @XmlElement(name = "Total", required = true)
    protected BigDecimal total;
    @XmlElement(name = "Adults")
    protected int adults;
    @XmlElement(name = "Children")
    protected int children;
    @XmlElement(name = "Infants")
    protected int infants;
    @XmlElement(name = "Errata")
    protected ArrayOfErratum errata;

    /**
     * Gets the value of the seq property.
     * 
     */
    public int getSeq() {
        return seq;
    }

    /**
     * Sets the value of the seq property.
     * 
     */
    public void setSeq(int value) {
        this.seq = value;
    }

    /**
     * Gets the value of the propertyRoomTypeID property.
     * 
     */
    public int getPropertyRoomTypeID() {
        return propertyRoomTypeID;
    }

    /**
     * Sets the value of the propertyRoomTypeID property.
     * 
     */
    public void setPropertyRoomTypeID(int value) {
        this.propertyRoomTypeID = value;
    }

    /**
     * Gets the value of the mealBasisID property.
     * 
     */
    public int getMealBasisID() {
        return mealBasisID;
    }

    /**
     * Sets the value of the mealBasisID property.
     * 
     */
    public void setMealBasisID(int value) {
        this.mealBasisID = value;
    }

    /**
     * Gets the value of the roomType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRoomType() {
        return roomType;
    }

    /**
     * Sets the value of the roomType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRoomType(String value) {
        this.roomType = value;
    }

    /**
     * Gets the value of the roomView property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRoomView() {
        return roomView;
    }

    /**
     * Sets the value of the roomView property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRoomView(String value) {
        this.roomView = value;
    }

    /**
     * Gets the value of the mealBasis property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMealBasis() {
        return mealBasis;
    }

    /**
     * Sets the value of the mealBasis property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMealBasis(String value) {
        this.mealBasis = value;
    }

    /**
     * Gets the value of the subTotal property.
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getSubTotal() {
        return subTotal;
    }

    /**
     * Sets the value of the subTotal property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setSubTotal(BigDecimal value) {
        this.subTotal = value;
    }

    /**
     * Gets the value of the discount property.
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getDiscount() {
        return discount;
    }

    /**
     * Sets the value of the discount property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setDiscount(BigDecimal value) {
        this.discount = value;
    }

    /**
     * Gets the value of the specialOffer property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSpecialOffer() {
        return specialOffer;
    }

    /**
     * Sets the value of the specialOffer property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSpecialOffer(String value) {
        this.specialOffer = value;
    }

    /**
     * Gets the value of the total property.
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getTotal() {
        return total;
    }

    /**
     * Sets the value of the total property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setTotal(BigDecimal value) {
        this.total = value;
    }

    /**
     * Gets the value of the adults property.
     * 
     */
    public int getAdults() {
        return adults;
    }

    /**
     * Sets the value of the adults property.
     * 
     */
    public void setAdults(int value) {
        this.adults = value;
    }

    /**
     * Gets the value of the children property.
     * 
     */
    public int getChildren() {
        return children;
    }

    /**
     * Sets the value of the children property.
     * 
     */
    public void setChildren(int value) {
        this.children = value;
    }

    /**
     * Gets the value of the infants property.
     * 
     */
    public int getInfants() {
        return infants;
    }

    /**
     * Sets the value of the infants property.
     * 
     */
    public void setInfants(int value) {
        this.infants = value;
    }

    /**
     * Gets the value of the errata property.
     * 
     * @return
     *     possible object is
     *     {@link ArrayOfErratum }
     *     
     */
    public ArrayOfErratum getErrata() {
        return errata;
    }

    /**
     * Sets the value of the errata property.
     * 
     * @param value
     *     allowed object is
     *     {@link ArrayOfErratum }
     *     
     */
    public void setErrata(ArrayOfErratum value) {
        this.errata = value;
    }

}
